

    <table class="CSSTableGenerator">

            <tr>
                <td>Title</td>
                <td>Description</td>
                <td>Edit</td>
                <td>Delete</td>
            </tr>

    <?php
        $news = $this->news;

        if(isset($news)){
            foreach ($news as $item ){

                echo "<tr>";    

                echo "<td>".$item['title']."</td>";
                echo "<td>".$item['des']."</td>";

                echo "<td><a class='edit-item' href ='".$this->baseUrl."/".$this->module."/news/edit/id/".$item['id']."'>EDIT<a/></td>";
                echo "<td><a class='del-item' href ='".$this->baseUrl."/".$this->module."/news/del/id/".$item['id']."'>DELETE<a/></td>";
                echo "</tr>";
            }
        }

     ?>
  <tr>
                <td colspan="4">
                <?php echo  $this->paginationControl($this->news, 'Sliding', 'index/paging.phtml'); ?>
                </td>
        </tr>

    </table>
